java:
	javac Prompt.java
	javah -jni Prompt
native:
	cc -fPIC -c -I. -I${JAVA_HOME}/include/ Prompt.c 
	cc -shared Prompt.o -o libPrompt.so
run:
	java -Djava.library.path=. Prompt

clean:
	rm -f *.o *.so *.class